﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Collections;
using Seta;

namespace CommomFunctions
{
    public class  Arrows
    {
        protected ArrayList arrows = new ArrayList();
        
        public Arrows()
        {

        }

        public void setAllVisible()
        {
            for (int i = 0; i < arrows.Count; i++)
                ((ArrowLine)arrows[i]).Visibility = Visibility.Visible;
        }

        public void setAllHidden()
        {
            for (int i = 0; i < arrows.Count; i++)
                ((ArrowLine)arrows[i]).Visibility = Visibility.Hidden;
        }

        public void setVisibility(int ind, Visibility visibility)
        {
            ((ArrowLine)arrows[ind]).Visibility = visibility;
        }
    }
}
